<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form id="reg-form" action="#" method="get">

  <input type="text" id="username">
  <input type="password" id="password">

  <input type="submit">
</form>

<script>
        setInterval(function () {
            document.getElementById('clicker').click();
        },1000);


</script>

</body>
</html>